package com.guigu.erp.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.guigu.erp.pojo.ManufactureApply;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @author Lenovo
 */
@Data
public class ManufactureApplyDto extends ManufactureApply {
    /**
     * 入库明细
     */
    private List<ManufactureApply> details;

    /**
     * 设计人
     */
    private String designer;

    /**
     * 登记人
     */
    private String register;

    /**
     * 登记时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date registerTime;

    /**
     * 备注
     */
    private String remark;
}
